wayland: Drop dead code
authorMatthias Clasen <mclasen@redhat.com>
Mon, 9 Mar 2020 17:24:30 +0000 (10:24 -0700)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 12 Mar 2020 19:30:10 +0000 (15:30 -0400)
gdk/wayland/gdksurface-wayland.c

index 202b0331ecd93324b9ed26dec30e89e42c161aa2..96ce53fc945a48f3b64c13d1c235139f3198da58 100644 (file)
@@ -3345,20 +3345,6 @@ gdk_wayland_surface_minimize (GdkSurface *surface)
 static void
 gdk_wayland_surface_unminimize (GdkSurface *surface)
 {
-  if (GDK_SURFACE_DESTROYED (surface) ||
-      !SURFACE_IS_TOPLEVEL (surface))
-    return;
-
-#if 0
-  if (GDK_SURFACE_IS_MAPPED (surface))
-    {
-      gdk_surface_show (surface);
-    }
-  else
-    {
-      gdk_synthesize_surface_state (surface, GDK_SURFACE_STATE_MINIMIZED, 0);
-    }
-#endif
 }
 
 static void